package com.maolong.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Menu implements Serializable {
    @JsonProperty("moduleId")
    @TableId(type = IdType.AUTO)
    private Long id;
    @JsonProperty("moduleIcon")
    private String icon;
    @JsonProperty("moduleName")
    private String menuName;

    private String hasThird;
    @JsonProperty("moduleUrl")
    private String url;
    @JsonProperty("parentId")
    private Long pId;
    @JsonProperty("moduleOrder")
    private Integer orderValue;
}
